import React, {Component} from 'react';
import {Image,TouchableOpacity,StyleSheet,View} from 'react-native';
import FontText from '../../components/FontText';
import Hearder from '../components/Hearder';
import { i18n } from '../../../i18n';
import { scaleSize } from '../../../utils/screen';
export default class Printer extends Component {
    constructor(props){
        super(props);
    }
    render() {
        return (
            <View style = {styles.box}>
                <View style = {styles.title}>
                    <Hearder 
                        isBack = {false} 
                        rightComponent = {()=>
                            (<TouchableOpacity
                                activeOpacity = {0.8}
                                onPressIn = {()=>this.addPrinter()}
                                >
                                <FontText style = {styles.addText} font = {'book'}>+</FontText>
                            </TouchableOpacity>)
                        }
                        title = {'Test'} />
                </View>
                <FontText>Test</FontText>
            </View>
        );
    }
    addPrinter(){

    }
}
const styles = StyleSheet.create({
    box:{
        flex:1
    },
    title:{
        height:scaleSize(110)
    },
    addText:{
        color:"#fff",
        fontSize: scaleSize(60)
    }
})